FUNCTION

parse_account_id_single_value_from_gtv

function parse_account_id_single_value_from_gtv(gtv: gtv): (allow_all: boolean, allowed_value: byte_array?, is_x: boolean)

Reads a GTV-encoded moduleArgs field containing a single account ID.

Throws "CONFIG ERROR" if the ID cannot be parsed as hex byte_array

Parameters

  • gtv — the GTV-encoded configuration to parse
© 2024 Chromia